﻿using System.Collections.Generic;
using Yun.Interface;
using Yun.Trade.Response;

namespace Yun.Trade.Request
{
    /// <summary>
    /// 获取退款数量数量
    /// yun.trade.refund.count
    /// </summary>
    public class GetRefundingCountRequest : ITopRequest<GetRefundingCountResponse>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        public int? ShopId { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        public int? CompanyId { get; set; }


        public string GetApiName()
        {
            return "yun.trade.refund.count";
        }

        public IDictionary<string, string> GetParameters()
        {
            var parameters = new YunDictionary
            {
                {"shopid",ShopId},
                {"companyid",CompanyId}
            };

            return parameters;
        }

        public void Validate()
        {
        }
    }
}
